package com.fuyao.cloud.asset.vo.ac;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 验收管理导创建对象
 *
 * @author lyhil
 * @date 2021/11/17
 */
@Data
@ApiModel(value = "验收管理分页视图类")
public class AcPageVO {

	@ApiModelProperty(value="主键ID")
	private Long id;

	@ApiModelProperty(value="唯一编码（用于关联附件）")
	private String unid;

	@ApiModelProperty(value="验收人ID")
	private Integer createId;

	@ApiModelProperty(value="验收人姓名")
	private String createBy;

	@ApiModelProperty(value="创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value="验收人所属OU的ID")
	private Integer deptId;

	@ApiModelProperty(value="验收人所属OU的全称")
	private String deptFullname;

	@ApiModelProperty(value="最后修改人信息")
	private String updateBy;

	@ApiModelProperty(value="最后修改时间")
	private LocalDateTime updateTime;

	@ApiModelProperty(value="单据类型：默认为ALL{ DEVICE:资产类；CONSUMABLES：易耗品；All:混合}")
	private String type;

	@ApiModelProperty(value="单号")
	private String caseid;

	@ApiModelProperty(value="采购订单ID")
	private Long parentId;

	@ApiModelProperty(value="采购订单号")
	private String parentCaseid;

	@ApiModelProperty(value="批次号")
	private String batchnumber;

	@ApiModelProperty(value="合同或发票ID")
	private Long contractId;

	@ApiModelProperty(value="合同或发票编号")
	private String contractNumber;

	@ApiModelProperty(value="合同或发票名称")
	private String contractName;

	@ApiModelProperty(value="状态：默认为0{0：草稿、1：处理中、2：已审批、3：已完成、4：作废}当验收单点击入库操作完成后更改为3：已完成")
	private String status;

	@ApiModelProperty(value="供应商ID")
	private Long supplierId;

	@ApiModelProperty(value="供应商名称")
	private String supplierName;

	@ApiModelProperty(value="收货时间")
	private LocalDateTime receivTime;

	@ApiModelProperty(value="入库时间")
	private LocalDateTime inTime;

	@ApiModelProperty(value="到货时间")
	private LocalDateTime arrivalDatetime;

	@ApiModelProperty(value="存放房间名称")
	private String houseName;

	@ApiModelProperty(value="存放房间ID")
	private Long houseId;

	@ApiModelProperty(value="存放位置名称")
	private String locationName;

	@ApiModelProperty(value="存放位置id")
	private Long locationId;

	@ApiModelProperty(value="存放地点全名称")
	private String fullLocation;

	@ApiModelProperty(value="采购方式01：邀标、02：自采:03：政府采购")
	private String method;

	@ApiModelProperty(value="验收总价格")
	private BigDecimal amount;

	@ApiModelProperty(value="货币类型默认人民币：人民币：、欧元：欧元、美元：美元、法元：法元")
	private String currencyType;

	@ApiModelProperty(value="订单明细")
	private String detailed;

	@ApiModelProperty(value="验收说明")
	private String explains;

	@ApiModelProperty("验收明细")
	private List<AcListVO> acList;
}
